#!/bin/sh
#do not use default java version
JAVA_HOME=/usr/java/jdk1.7.0_80
JAVA_BIN=$JAVA_HOME/bin
#reset path
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:$JAVA_BIN
export JAVA_HOME JAVA_BIN PATH
nohup java -Xms512m -Xmx1024m -XX:+UseParallelGC -jar lbps-service-assembly-0.0.1-SNAPSHOT.jar > service.out 2>&1 &

